home *** CD-ROM | disk | FTP | other *** search
/ Champak 138 / Volume 138 Aug 19 2011 - Damaged.iso / Games / the_independent.swf / scripts / DefineButton2_177 / BUTTONCONDACTION on(release, keyPress Up).as
Text File  |  2011-08-19  |  277b  |  14 lines

  1. on(release, keyPress "<Up>"){
  2.    if(this.window._y - 10 * this.koeficient > 125)
  3.    {
  4.       this.window._y;
  5.    }
  6.    else
  7.    {
  8.       this.window._y += 10;
  9.       this.scroller._y -= 1.5;
  10.       scrollervar = this.scroller._y;
  11.       windowvar = this.window._y;
  12.    }
  13. }
  14.